package com.lagou.service.impl;

import com.lagou.service.MyMethod;
import org.apache.dubbo.config.annotation.Service;

import java.util.Random;

/**
 * @author boting.guo
 * @date 2021/11/20 11:32
 */

@Service
public class MyMethodImpl implements MyMethod {

	@Override
	public void methodA() {
		try {
			Thread.sleep(new Random().nextInt(100));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

	@Override
	public void methodB() {
		try {
			Thread.sleep(new Random().nextInt(100));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

	@Override
	public void methodC() {
		try {
			Thread.sleep(new Random().nextInt(100));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
